Optimal. Leaf size=55 \[ \frac {1}{3} a^2 A x^3+\frac {1}{5} a (2 A b+a B) x^5+\frac {1}{7} b (A b+2 a B) x^7+\frac {1}{9} b^2 B x^9 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {459}
\begin {gather*} \frac {1}{3} a^2 A x^3+\frac {1}{7} b x^7 (2 a B+A b)+\frac {1}{5} a x^5 (a B+2 A b)+\frac {1}{9} b^2 B x^9 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rubi steps
\begin {align*} \int x^2 \left (a+b x^2\right )^2 \left (A+B x^2\right ) \, dx &=\int \left (a^2 A x^2+a (2 A b+a B) x^4+b (A b+2 a B) x^6+b^2 B x^8\right ) \, dx\\ &=\frac {1}{3} a^2 A x^3+\frac {1}{5} a (2 A b+a B) x^5+\frac {1}{7} b (A b+2 a B) x^7+\frac {1}{9} b^2 B x^9\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 55, normalized size = 1.00 \begin {gather*} \frac {1}{3} a^2 A x^3+\frac {1}{5} a (2 A b+a B) x^5+\frac {1}{7} b (A b+2 a B) x^7+\frac {1}{9} b^2 B x^9 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 52, normalized size = 0.95
method | result | size |
default | \(\frac {b^{2} B \,x^{9}}{9}+\frac {\left (b^{2} A +2 a b B \right ) x^{7}}{7}+\frac {\left (2 a b A +a^{2} B \right ) x^{5}}{5}+\frac {a^{2} A \,x^{3}}{3}\) | \(52\) |
norman | \(\frac {b^{2} B \,x^{9}}{9}+\left (\frac {1}{7} b^{2} A +\frac {2}{7} a b B \right ) x^{7}+\left (\frac {2}{5} a b A +\frac {1}{5} a^{2} B \right ) x^{5}+\frac {a^{2} A \,x^{3}}{3}\) | \(52\) |
gosper | \(\frac {1}{9} b^{2} B \,x^{9}+\frac {1}{7} x^{7} b^{2} A +\frac {2}{7} x^{7} a b B +\frac {2}{5} x^{5} a b A +\frac {1}{5} x^{5} a^{2} B +\frac {1}{3} a^{2} A \,x^{3}\) | \(54\) |
risch | \(\frac {1}{9} b^{2} B \,x^{9}+\frac {1}{7} x^{7} b^{2} A +\frac {2}{7} x^{7} a b B +\frac {2}{5} x^{5} a b A +\frac {1}{5} x^{5} a^{2} B +\frac {1}{3} a^{2} A \,x^{3}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.36, size = 51, normalized size = 0.93 \begin {gather*} \frac {1}{9} \, B b^{2} x^{9} + \frac {1}{7} \, {\left (2 \, B a b + A b^{2}\right )} x^{7} + \frac {1}{3} \, A a^{2} x^{3} + \frac {1}{5} \, {\left (B a^{2} + 2 \, A a b\right )} x^{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.95, size = 51, normalized size = 0.93 \begin {gather*} \frac {1}{9} \, B b^{2} x^{9} + \frac {1}{7} \, {\left (2 \, B a b + A b^{2}\right )} x^{7} + \frac {1}{3} \, A a^{2} x^{3} + \frac {1}{5} \, {\left (B a^{2} + 2 \, A a b\right )} x^{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 56, normalized size = 1.02 \begin {gather*} \frac {A a^{2} x^{3}}{3} + \frac {B b^{2} x^{9}}{9} + x^{7} \left (\frac {A b^{2}}{7} + \frac {2 B a b}{7}\right ) + x^{5} \cdot \left (\frac {2 A a b}{5} + \frac {B a^{2}}{5}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.05, size = 53, normalized size = 0.96 \begin {gather*} \frac {1}{9} \, B b^{2} x^{9} + \frac {2}{7} \, B a b x^{7} + \frac {1}{7} \, A b^{2} x^{7} + \frac {1}{5} \, B a^{2} x^{5} + \frac {2}{5} \, A a b x^{5} + \frac {1}{3} \, A a^{2} x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 51, normalized size = 0.93 \begin {gather*} x^5\,\left (\frac {B\,a^2}{5}+\frac {2\,A\,b\,a}{5}\right )+x^7\,\left (\frac {A\,b^2}{7}+\frac {2\,B\,a\,b}{7}\right )+\frac {A\,a^2\,x^3}{3}+\frac {B\,b^2\,x^9}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________